﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo06
{
    class Father
    {
        public string name { get; set; }
        public string describe { get; set; }
        public int ATK { get; set; }
        public int DEF { get; set; }
        public int speed { get; set; }

        public Father(string name, string describe, int ATK, int DEF, int speed)
        {
            this.name = name;
            this.describe = describe;
            this.ATK = ATK;
            this.DEF = DEF;
            this.speed = speed;
        }
        public void Fat() {
            Console.WriteLine("我的名字是{0}，我的昵称是{1}，我的信息是{2}，我的攻击力为{3}，我的防御力为{4}，我的速度为{5}",
                this.name, this.describe, this.ATK, this.DEF, this.speed);
        }
    }
}
